body {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background: rgb(69, 69, 69);
}
.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 50px;
}
.loader {
  position: relative;
  width: 100px;
  height: 100px;
}
.loader::before,
.loader::after {
  content: '';
  display: inline-block;
  position: absolute;
  border: 2px solid #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
.loader::before {
  border-top-color: transparent;
  border-bottom-color: transparent;
  animation: loader1 1s linear infinite;
}
.loader::after {
  border-left-color: transparent;
  border-right-color: transparent;
  width: 30px;
  height: 30px;
  left: 15px;
  top: 15px;
  animation: loader2 1s linear infinite;
}

@keyframes loader1 {
  0% {
    transform: rotate(0deg) scale(1, 1);
  }
  45% {
    transform: rotate(180deg) scale(0.8, 0.8);
  }
  90% {
    transform: rotate(360deg) scale(1, 1);
  }
  100% {
    transform: rotate(360deg) scale(1, 1);
  }
}
@keyframes loader2 {
  0% {
    transform: rotate(360deg) scale(1, 1);
  }
  45% {
    transform: rotate(180deg) scale(0.8, 0.8);
  }
  90% {
    transform: rotate(0deg) scale(1, 1);
  }
  100% {
    transform: rotate(0deg) scale(1, 1);
  }
}